<!--
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2020-11-12 09:35:58
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-11-16 11:20:41
-->
<template>
  <div class="app-container">
    <h1>深圳智助教育科技有限公司欢迎您！</h1>
    123
  </div>
</template>

<script>
  import { getSessionInfo, delSessionInfo } from '@/utils/auth'
  import store from '../../store' // get token
export default {
    data() {
        return {
        }
    },
  methods:{
      getToken(){
        console.log(11111111111)
        console.log(getSessionInfo())
        console.log(11111111111)
        const hasToken = JSON.parse(getSessionInfo())
        console.log(hasToken.username)
        console.log(store.getters.k_token)
        console.log(store.getters.userId)
        console.log(store.getters.permission_routes)
      }
  },
  mounted() {
      this.getToken()
  }
}
</script>

<style scoped lang='scss'>

</style>
